<?php
/**
 * The Template for displaying all single posts.
 *
 * @package tiffanyturnham
 */

get_header(); ?>
<?php
	global $NHP_Options;
	$options_array = $NHP_Options->get('radio_img');
?>
	<div class="sixteen columns">
		<?php if($options_array == '2'):	?>
		<div class="sidebar  left">
			<?php get_sidebar(); ?>
		</div>
		<?php endif; ?>
		<div>
			<?php if($options_array != '1'):?>
				<div class="content-area">
					<?php	else :	?>
					<?php endif; ?>
					<div id="primary">
						<main id="main" class="site-main" role="main">
						<?php while ( have_posts() ) : the_post(); ?>

							<?php get_template_part( 'content', 'single' ); ?>

							<?php tiffanyturnham_content_nav( 'nav-below' ); ?>
							<?php
								// If comments are open or we have at least one comment, load up the comment template
								//if ( comments_open() || '0' != get_comments_number() )
									//comments_template();
							?>
						<?php endwhile; // end of the loop. ?>
						</main><!-- #main -->
					</div><!-- #primary -->
				</div>
			<?php if($options_array == '3'): ?>
			<div class="sidebar right">
				<?php get_sidebar(); ?>
			</div>
			<?php endif; ?>
		</div>
	</div>	
<?php get_footer(); ?>
